package com.intelligent.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 供应商对账单主表
 * @TableName supplier_reconciliation
 */
@TableName(value ="supplier_reconciliation")
@Data
public class SupplierReconciliation implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    private String reconciliationNo;

    /**
     * 关联供应商ID
     */
    private Long supplierId;

    /**
     * 对账周期（如 2023-08）
     */
    private String reconciliationPeriod;

    /**
     * 采购总金额
     */
    private BigDecimal totalPurchase;

    /**
     * 收货总金额
     */
    private BigDecimal totalReceipt;

    /**
     * 付款总金额
     */
    private BigDecimal totalPayment;

    /**
     * 
     */
    private Long uId;

    /**
     * 状态：0待对账、1已对账
     */
    private Integer status;

    /**
     * 
     */
    private Date createTime;

    /**
     * 
     */
    private String remarks;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}